﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetworkCrashSimulator
{
    public class ComboItem
    {
        private object bindingValue;
        private object displayValue;

        public object BindingValue
        {
            get
            {
                return bindingValue;
            }
        }

        public object DisplayValue
        {
            get
            {
                return displayValue;
            }
        }

        public ComboItem(object aBindingValue, object aDisplayValue)
        {
            bindingValue = aBindingValue;
            displayValue = aDisplayValue;
        }

        public override String ToString()
        {
            return Convert.ToString(displayValue);
        }
    }
}
